/*
 * @Date: 2023-08-08 15:36:47
 * @LastEditors: lyx
 * @LastEditTime: 2023-08-09 10:01:27
 * @FilePath: \sup-mini-app\src\services\weather\index.ts
 * @Description:
 */
import SupRequest from "@/utils/api";

export function queryWeatherByLocation(props: IQueryWeatherByLocationProps) {
  return SupRequest({
    url: "/weather/getWeatherByLocation",
    method: "POST",
    data: {
      ...props,
    },
  });
}
